package com.franklin.java.api.state;

import com.franklin.java.utils.ProjectUtils;
import com.intellij.openapi.project.Project;

/**
 * @author Franklin
 * @since 2021/9/1 18:43
 */
public abstract class BaseProjectPersistentState<T extends BaseProjectPersistentState<T>> extends BasePersistentState<T> {

    protected Project myProject = ProjectUtils.getCurrProject();

    public BaseProjectPersistentState(Project myProject) {
        this.myProject = myProject;
    }

    public Project getProject() {
        return myProject;
    }

    public BaseProjectPersistentState() {
    }
}
